package com.ccb.sc.common.modules.common.vo;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
@Accessors
public class SyncDistrictResponse implements Serializable {

    private Integer status;
    private String message;
    private String dataVersion;
    private List<List<SyncDistrictData>> result;

    @Data
    public static class SyncDistrictData {
        private Long id;
        private String name;
        private String fullname;
        private String[] pinyin;
        private Integer[] cidx;
        private SyncDistrictLocation location;
    }

    @Data
    public static class SyncDistrictLocation {
        private BigDecimal lat;
        private BigDecimal lng;
    }
}
